'use strict';

const Service = require('egg').Service;

class ResService extends Service {
    async list(role_id) {
        //%：任意
        return await this.app.mysql.query(`select * from reslist where power like '%${role_id}%'`)
    }
}

module.exports = ResService;
